import requests
import json

url = "http://172.24.63.40:8090/api/login"
url2 = "https://hc-lims.hithium.com:8090/api/login"
url3 = "https://hc-lims.hithium.com:8090/#/login"

# proxies = {
#     'http': 'http://10.101.50.10:3128',
#     'https': 'http://10.101.50.10:1080',
# }
response = requests.get(url)

payload = json.dumps({
    "staffNo": "HC22010001",
    "password": "ZZOLaNpl/P1znsIl2QQD/QTHBjpUBoxm1AXdX2c3MqY3qmy+dXmxy0VnBgp2Ug4AaBT+B0/X2NlyUWFbae9hVlQqIVIUB82xc42gEB7G/uVQ28mmq4Fhc0laqu8ExJp1/hdZmHeXt+YXLdjmNQ4GFU5MKJ2FcOMcwLckYaKwu9s=",
    "captcha": "HC22010001"
})
data = {
    "staffNo": "HC22010001",
    "password": "123456",
    "captcha": "HC22010001"
}
headers = {
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36",
    'Content-Type': 'application/json',
    "Referer": "http://hc-lims.hithium.com:8090/",
}
session = requests.Session()
# response = session.post(url2, headers=headers, data=payload)
res = requests.get(url3,headers=headers,timeout=(10,10))
# print(response.text)
print(res.text)